package org.jeecg.modules.pacs.mapperHis;

import com.baomidou.dynamic.datasource.annotation.DS;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

public interface FindHisHealthCardDao {
    @Select("SELECT top 1 card_no FROM ${hospitalCode}.dbo.vw_eris_hisorder where CID_NO=#{IdCard} and card_no is not null  ")
    String findHealthCard(@Param("hospitalCode")String hospitalCode,@Param("IdCard")String IdCard);
}
